package org.example.service.impl;

import org.example.pojo.Report;
import org.example.mapper.ReportMapper;
import org.example.service.IReportService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 举报信息表 服务实现类
 * </p>
 *
 * @author zhx
 * @since 2025-01-17
 */
@Service
public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> implements IReportService {

    @Autowired
    private ReportMapper reportMapper;


    @Override
    public int submitReport(Report report) {
        return reportMapper.submitReport(report);
    }
}
